package com.leon.alishop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.leon.alishop.model.AttrValInfo;

public interface AttrValInfoDao {

	public AttrValInfo selectById(Integer id);
	
	public List<AttrValInfo> selectByIds(Integer[] ids);
	
	public int insertSelective(AttrValInfo attrValInfo);
	
	public int updateByIdSelective(AttrValInfo attrValInfo);
	
	public List<AttrValInfo> findAllAttrVal();
	
	public AttrValInfo selectByNameAndAttrId(@Param("name") String name,@Param("attrId") Integer attrId);
	
}
